package com.vortex.cloud.sample.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 王林
 * @version 1.0
 * @date 2021-10-15 周五
 * @time 14:20
 * @description
 */
@Data
public class TaskUserInfoVo {
    /**
     * 物理id
     */
    @ExcelProperty(value = "ID")
    private String id;

    @ExcelProperty(value = "用户ID")
    private String userId;

    @ExcelProperty(value = "用户名")
    private String name;

    @ExcelProperty(value = "邮箱")
    private String email;

    @ExcelProperty(value = "性别")
    private String gender;

    @ExcelProperty(value = "积分")
    private Integer score;

    @ExcelProperty(value = "IP")
    private String ip;

    @ExcelProperty(value = "登入次数")
    private Integer count;

    @ExcelProperty(value = "加入时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;
}
